package com.mystudy.concurrent.classLoader;

import java.sql.DriverManager;

/**
 * TODO:
 *
 * @author acy
 * @since 2019/05/31 17:52
 */
public class MyClassLoaderTest {
	public static void main(String[] args) throws ClassNotFoundException {
		//MyClassLoader loader = new MyClassLoader("myClassLoader");
		//Class<?> loadClass = loader.loadClass("MyLoadObj");

		//System.out.println(loadClass);
		//System.out.println(loadClass.getClassLoader());
		Class<?> aClass = Class.forName("java.sql.DriverManager");
		System.out.println(Thread.currentThread().getContextClassLoader());
		System.out.println(aClass.getClassLoader());
	}
}
